package com.rh.number.dto;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

@Data
public class BatchFullUpdateRequest {
    @NotNull(message = "ID列表不能为空")
    private List<Long> ids;

    @Valid
    @JsonProperty("updateData")
    @NotNull(message = "更新数据不能为空")
    private NumberUpdateData updateData;

    public List<Long> getIds() {
        return ids;
    }
    public void setIds(List<Long> ids) {
        this.ids = ids;
    }
    public NumberUpdateData getUpdateData() {
        return updateData;
    }
}

